﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using ns_GetOperation;

namespace iChat.AjaxResponse
{
    public partial class WebForm5 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (s_c_GetOperation.ServerOperation.Login(Request["name"], Request["password"]))
            {
                int i = ns_DatabaseAccess.c_DBA.SqlDataAccess.GetAllUsers();
                Response.Write("Passed");
            }

           /* User ur = DBA.DB_USER_PROFILE.GetUser(Request["name"]);
            if (ur != null)
            {
                Session["name"] = ur.Name;
                Response.Write("Passed");
            }*/
        }
    }
}
